#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:http_code.py
# author:JackieX
# datetime:2022-05-13 11:15
# software: PyCharm

"""
  HTTP STATUS CODE.
"""


class HttpStatus:
    OK = 200
    Created = 201
    Accepted = 202
    NoContent = 204

    MovedPermanently = 301
    Found = 302
    SeeOther = 303
    NotModified = 304
    TemporaryRedirect = 307

    Unauthorized = 401
    Forbidden = 403
    NotFound = 404
    MethodNotAllowed = 405
    NotAcceptable = 406
    Conflict = 409
    Gone = 410
    PreconditionFailed = 412
    PayloadTooLarge = 413
    UnsupportedMediaType = 415
    UnprocessableEntity = 425
    PreconditionRequired = 428

    InternalServerError = 500
    NotImplemented = 501
    BadGateway = 502
    ServiceUnavailable = 503
